﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_errorSet", DisableSyncStructure = true)]
	public partial class TErrorSet {

		/// <summary>
		/// 主键唯一标识
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// 录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 左方纬度
		/// </summary>
		[JsonProperty, Column(Name = "leftLatitude")]
		public double? LeftLatitude { get; set; }

		/// <summary>
		/// 左方经度
		/// </summary>
		[JsonProperty, Column(Name = "leftLongitude")]
		public double? LeftLongitude { get; set; }

		/// <summary>
		/// 右方纬度
		/// </summary>
		[JsonProperty, Column(Name = "rightLatitude")]
		public double? RightLatitude { get; set; }

		/// <summary>
		/// 右方经度
		/// </summary>
		[JsonProperty, Column(Name = "rightLongitude")]
		public double? RightLongitude { get; set; }

		/// <summary>
		/// 设备终端
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

	}

}
